package danran.dbapi.utils;

import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.pool.DruidPooledConnection;
import danran.dbapi.domain.DataSource;

import java.sql.SQLException;

/**
 * @Classname PoolUtil
 * @Description TODO
 * @Date 2022/1/13 16:08
 * @Created by RanCoder
 */
public class PoolUtil {
    public static DruidDataSource getJdbcConnectionPool(DataSource ds) {
        return null;
    }

    public static void removeJdbcConnectionPool(String id) {

    }

    public static DruidPooledConnection getPooledConnection(DataSource ds) throws SQLException {
        return null;
    }
}
